package com.csun.cmny.provider.dao;

import com.csun.cmny.provider.model.domain.DmcSleepCareBind;
import com.csun.cmny.provider.model.dto.propertyManagement.SelectDeviceDataDto;
import com.csun.cmny.provider.model.dto.sleep.BedOldmanSleepReqDto;
import com.csun.cmny.provider.model.dto.sleepcare.SleepCarePageQuery;
import com.csun.cmny.provider.model.vo.DmcSleepCareVo;
import com.csun.cmny.provider.model.vo.SleepCareDataReqVo;
import com.csun.cmny.provider.model.vo.propertyManagement.PropertyDataVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface DmcSleepCareBindMapper extends Mapper<DmcSleepCareBind> {

    /**
     * query group sleep care list with page
     *
     * @param sleepCarePageQuery sleep care page query
     *
     * @return the list
     */
    List<DmcSleepCareVo> queryGroupSleepCareListWithPage(SleepCarePageQuery sleepCarePageQuery);

    /**
     * query sleep care data by bed oldman list
     *
     * @param bedOldmanSleepReqDtoList bed oldman sleep req dto list
     *
     * @return  the list.
     */
    List<SleepCareDataReqVo> querySleepCareDataByBedOldmanList(@Param("bedOldmanSleepReqDtoList") List<BedOldmanSleepReqDto> bedOldmanSleepReqDtoList);

    List<PropertyDataVo> selectDeviceData(SelectDeviceDataDto selectDeviceDataDto);
}